package com.hk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hk.model.dto.BusinessPageQueryDTO;
import com.hk.model.dto.RequestData;
import com.hk.model.pojo.Business;
import com.hk.model.pojo.Customer;
import com.hk.model.vo.BusinessPageQueryVO;
import com.hk.result.PageResult;

public interface BusinessService extends IService<Business> {
    PageResult getPage(BusinessPageQueryDTO businessPageQueryDTO);

    void saveBusiness(BusinessPageQueryVO businessPageQueryVO);

    void assignBusiness(RequestData requestData);

    Customer getByCustomerInfoId(Long id);
}
